﻿using AutoMapper;
using Business.BookManagement.Dto;
using Business.Models;
using Business.ProduceManagement.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Business.ProduceManagement
{
    public class ProduceAutoMapperProfile : Profile
    {
        public ProduceAutoMapperProfile()
        {
            CreateMap<Produce, ProduceDto>();
            CreateMap<CreateOrUpdateProduceDto, Produce>();
        }
    }
}
